import json

def detect_tool(assistant_output):
    response = json.loads(assistant_output)
    print(response)